/*
 * xzlib.h
 *
 *  Created on: 14 sept. 2011
 *      Author: lindenb
 */

#ifndef XZLIB_H_
#define XZLIB_H_
#include <zlib.h>
#include "xstdio.h"

class GZReader:public Reader
	{
	private:
		gzFile in;
	public:
		GZReader(const char* filename);
		GZReader();//stdin
		virtual ~GZReader();
		virtual int eof();
		virtual int getc();
		virtual void close();
	};

#endif /* XZLIB_H_ */
